import 'package:card_topia/common_provider/user_provider.dart';
import 'package:card_topia/common_widget/my_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';


class MessagePage extends StatelessWidget {
  const MessagePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Consumer(builder: (context,ref,child){
      final userInfo = ref.watch(userInfoProvider).userInfo;
      return Scaffold(
        body: SingleChildScrollView(
          child: Column(
            children: [
              Text("${userInfo?.displayName}")
            ],
          ),
        ),
      ).withOnTap(context);
    });
  }
}

